home *** CD-ROM | disk | FTP | other *** search
- HPR2(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- CCHHPPRR22, ZZHHPPRR22 - Performs Hermitian rank 2 update of a packed complex
- Hermitian matrix
-
- SSYYNNOOPPSSIISS
- Complex
-
- CCAALLLL CCHHPPRR22 ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y,, _a_p))
-
- Double complex
-
- CCAALLLL ZZHHPPRR22 ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y,, _a_p))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- These routines perform the following Hermitian rank 2 operation:
- _H _H
- _A <- _a_l_p_h_a _x_y + (complex conjugate of _a_l_p_h_a)* _y_x + _A
- _H _H
- where _a_l_p_h_a is a scalar, _x and _y are _n-element vectors, _x and _y
- conjugate transposes of _x and _y, respectively, and _A is an _n-by-_n
- packed complex Hermitian matrix.
-
- These routines have the following arguments:
-
- _u_p_l_o Character*1. (input)
- Specifies whether the upper or lower triangular part of
- matrix _A is packed into the array argument _a_p, as follows:
-
- _u_p_l_o= 'U' or 'u': the upper triangular part of _A is being
- supplied in the argument _a_p.
- _u_p_l_o= 'L' or 'l': the lower triangular part of _A is being
- supplied in the argument _a_p.
-
- _n Integer. (input)
- Specifies the order of matrix _A. _n >= 0.
-
- _a_l_p_h_a Scalar alpha. (input).
- CCHHPPRR22: Complex.
- ZZHHPPRR22: Double complex.
-
- _x Array of dimension 1+(_n-1) * |_i_n_c_x|. (input)
- CCHHPPRR22: Complex array.
- ZZHHPPRR22: Double complex array.
- Contains vector _x.
-
- _i_n_c_x Integer. (input)
- Increment for the elements of _x. _i_n_c_x must not be 0.
-
- _y Array of dimension 1+(_n-1) * |_i_n_c_y|. (input)
- CCHHPPRR22: Complex array.
- ZZHHPPRR22: Double complex array.
- Contains vector _y.
-
- _i_n_c_y Integer. (input)
- Increment for the elements of _y. Argument _i_n_c_y must not be
- 0.
-
- _a_p Array of dimension (_n(_n+1))/2 . (input and output)
- CCHHPPRR22: Complex array.
- ZZHHPPRR22: Double complex array.
-
- Before entry with _u_p_l_o = 'U' or 'u', array _a_p must contain
- the upper triangular part of the Hermitian matrix packed
- sequentially, column-by-column, so that _a_p(1) contains
- _A(1,1), _a_p(2) contains _A(1,2), _a_p(3) contains _A(2,2), and so
- on. On exit, the upper triangular part of the updated
- matrix overwrites array _a_p.
-
- Before entry with _u_p_l_o = 'L' or 'l', array _a_p must contain
- the lower triangular part of the Hermitian matrix packed
- sequentially, column-by-column, so that _a_p(1) contains
- _A(1,1), _a_p(2) contains _A(2,1), _a_p(3) contains _A(3,1), and so
- on. On exit, the lower triangular part of the updated
- matrix overwrites array _a_p.
-
- The imaginary parts of the diagonal elements need not be
- set. They are assumed to be 0; on exit, they are set to 0.
-
- NNOOTTEESS
- CCHHPPRR22/ZZHHPPRR22 is a Level 2 Basic Linear Algebra Subprogram (Level 2
- BLAS).
-
- When working backward (_i_n_c_x < 0 or _i_n_c_y < 0), this routine starts at
- the end of the vector and moves backward, as follows:
-
- _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)) , ..., _x(1)
-
- _y(1-_i_n_c_y * (_n-1)), _y(1-_i_n_c_y * (_n-2)) , ..., _y(1)
-
- SSEEEE AALLSSOO
- SSPPRR(3F)
-
- This man page is available only online.
-